package com.hcms.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 模块配置表
 * </p>
 *
 * @author achenxw@126.com
 * @since 2023-04-01
 */
@Getter
@Setter
@TableName("cms_module")
@ApiModel(value = "CmsModule对象", description = "模块配置表")
public class CmsModule implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("模块名称")
    private String moduleName;

    @ApiModelProperty("表名称")
    private String tableName;

    @ApiModelProperty("模型名称")
    private String modelName;

    @ApiModelProperty("表注释")
    private String tableComment;

    @ApiModelProperty("表类型")
    private String tableType;

    @ApiModelProperty("主键")
    private String pk;

    @ApiModelProperty("前台列表页可调用字段,默认为*,仅用作前台CMS调用时使用")
    private String listFields;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("排序字段")
    private Integer isSort;

    @ApiModelProperty("状态字段")
    private Integer isStatus;

    @ApiModelProperty("顶部按钮")
    private String topButton;

    @ApiModelProperty("右侧按钮")
    private String rightButton;

    @ApiModelProperty("单页模式")
    private Integer isSingle;

    @ApiModelProperty("查看全部")
    private Integer showAll;

    @ApiModelProperty("添加参数")
    private String addParam;

    private Date createTime;

    private Date updateTime;


}
